package Entity;


import java.sql.Date;

/**
 * 读者信息
 * @Author Chen
 * @Date 2022/1/6 9:43
 * @Version 1.0
 */
public class Reads {
    private int readesNumber;
    private String readesName;
    private Date birthday;
    private String sex;
    private String phone;
    private String department;
    private Date regdate;
    private int readesTypeNumber;

    public Reads() {
        super();
    }

    public Reads(int readesNumber, String readesName, Date birthday, String sex, String phone, String department, Date regdate, int readesTypeNumber) {
        super();
        this.readesNumber = readesNumber;
        this.readesName = readesName;
        this.birthday = birthday;
        this.sex = sex;
        this.phone = phone;
        this.department = department;
        this.regdate = regdate;
        this.readesTypeNumber = readesTypeNumber;
    }

    public int getReadesNumber() {
        return readesNumber;
    }

    public void setReadesNumber(int readesNumber) {
        this.readesNumber = readesNumber;
    }

    public String getReadesName() {
        return readesName;
    }

    public void setReadesName(String readesName) {
        this.readesName = readesName;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Date getRegdate() {
        return regdate;
    }

    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    public int getReadesTypeNumber() {
        return readesTypeNumber;
    }

    public void setReadesTypeNumber(int readesTypeNumber) {
        this.readesTypeNumber = readesTypeNumber;
    }

    @Override
    public String toString() {
        return "Reads{" +
                "readesNumber=" + readesNumber +
                ", readesName='" + readesName + '\'' +
                ", birthday=" + birthday +
                ", sex='" + sex + '\'' +
                ", phone=" + phone +
                ", department='" + department + '\'' +
                ", regdate=" + regdate +
                ", readesTypeNumber=" + readesTypeNumber +
                '}';
    }
}
